package private1;

import java.util.Calendar;
import java.util.GregorianCalendar;

public class Today {
    public static void main(String[] args) {
        GregorianCalendar today=new GregorianCalendar();
        System.out.printf("今天是%4d年%2d月%2d日。\n",
                            today.get(Calendar.YEAR),
                            today.get(Calendar.MONTH)+1,
                            today.get(Calendar.DATE)
                );
    }
}
